import { request } from '@/api/_service'

// 查询pmsOrder列表
export function LIST (data) {
  return request({
    url: '/order_list',
    method: 'get',
    params: data
  })
}

// 新增pmsOrder
export function ADD (data) {
  return request({
    url: '/add_order',
    method: 'post',
    data: data
  })
}

export function UPDATE (data) {
  return request({
    url: '/upd_order',
    method: 'post',
    data: data
  })
}

export function DELETE (data) {
  return request({
    url: '/del_order',
    method: 'post',
    data: data
  })
}

export default {
  LIST,
  ADD,
  UPDATE,
  DELETE
}
